package com.sky.his.api.db.dao;

import com.sky.his.api.db.pojo.RuleEntity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

/**
 * @author WangJiyou
 * @description 针对表【tb_rule(规则表)】的数据库操作Mapper
 * @createDate 2024-11-08 16:36:14
 * @Entity com.sky.his.api.db.pojo.RuleEntity
 */
public interface RuleDao {

    ArrayList<HashMap> searchAllRule();

    ArrayList<HashMap> searchByPage(Map param);

    long searchCount(Map param);

    int insert(RuleEntity entity);

    HashMap searchById(int id);

    int update(RuleEntity entity);

    int deleteById(int id);
}




